package com.salton123.core

/**
 * Time:2021/12/30 17:36
 * Author:
 * Description:
 */
object HelloCpp {
    init {
        System.loadLibrary("core")
    }

    external fun createFile(filePath: String): Long

    external fun getMMap(filePointer: Long): Long

    external fun init(filePath: String, blockSize: Int): Long

    external fun write(pointer: Long, data: String): Int
}